package com.yl.web.controller.api;

import com.yl.common.annotation.Anonymous;
import com.yl.common.core.domain.AjaxResult;
import com.yl.service.CommonService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RequestMapping("/timer")
@RestController
@Anonymous
public class TimerController {


    @Resource
    CommonService commonService;

    @RequestMapping("/batchFillStudentReply")
    @ResponseBody
    public void batchFillStudentReply() {
        commonService.batchFillStudentReply();
    }



    @RequestMapping("/handleDataAndCreateReport")
    @ResponseBody
    public void handleDataAndCreateReport() {
        commonService.handleDataAndCreateReport();
    }

    @RequestMapping("/submitZhiXingCreateReport")
    @ResponseBody
    public void submitZhiXingCreateReport() {
        commonService.submitZhiXingCreateReport();
    }

    @RequestMapping("/getReportUrl")
    @ResponseBody
    public void getReportUrl() {
        commonService.getReportUrl();
    }


    /**
     * 定时器
     * @author : y
     * @date :  2024/7/18 10:29
     **/

}
